package com.web.dao.impl;

import com.web.dao.StudentDeleteDAO;
import com.web.util.JDBCUtils;

/**
 * @author lenovo
 * @Description
 * @Date2025-3-1 23:18
 */
public class StudentDeleteDAOImpl implements StudentDeleteDAO {
    @Override
    public int deleteStudentById(int id){
        String sql = "delete from student_s where id=?";
        return JDBCUtils.update(sql,new Object[]{id});
    }

}
